{% comment %}
    General template for displaying forms.
    Assumes there is a context variable 'form'
{% endcomment %}
<table class="form-table">
    {% for field in form %}
        {% if not field.is_hidden %}
            <tr>
                <td class="label-cell">
                    {{field.label_tag}}
                    {% if field.field.required %}
                        <span class="required-asterisk">
                            *
                        </span>
                    {% endif %}
                </td>
                <td>
                    {{field}}
                    <br />
                    {{field.help_text}}
                </td>
            </tr>
        {% endif %}
    {% endfor %}
</table>
